package com.itheima.service.impl;

import com.itheima.domain.User;
import com.itheima.service.UserService;
import lombok.extern.slf4j.Slf4j;
import org.apache.ibatis.session.SqlSession;

/**
 * @author ：seanyang
 * @date ：Created in 2019/8/11
 * @description ：用户业务实现类
 * @version: 1.0
 */
@Slf4j
public class UserServiceImpl implements UserService {
	@Override
	public User findByUsername(String username) {
		log.info("UserServiceImpl findByUsername:{}",username);
		User user = new User(1,"admin","123456");
		return user;
	}
}
